import { observable, action } from 'mobx';

class HomeState {
  @observable todo = Math.random() * 1000;
  @action setTodo = () => {
    this.todo = Math.random() * 1000;
  };
}

export default new HomeState();
